package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 操作步骤表 set_step
 *
 * @author ruoyi
 */
@ToString
@Data
@Entity
@Table(name = "set_step")
@EqualsAndHashCode(callSuper = true)
@TableName(value = "set_step")
@ApiModel(description = "操作步骤表")
public class SetStep extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 总成编码 */
    @ApiModelProperty(value = "总成编码")
    @Excel(name = "总成编码")
    private String productCode;

    /** 产线编码 */
    @ApiModelProperty(value = "产线编码")
    @Excel(name = "产线编码")
    private String lineCode;

    /** 工位编码 */
    @ApiModelProperty(value = "工位编码")
    @Excel(name = "工位编码")
    private String stationCode;

    /** 操作步骤序号 */
    @ApiModelProperty(value = "操作步骤序号")
    @Excel(name = "操作步骤序号")
    private Integer stepId;

    /** 操作步骤类型 */
    @ApiModelProperty(value = "操作步骤类型")
    @Excel(name = "操作步骤类型")
    private Integer stepType;

    /** 操作步骤名称 */
    @ApiModelProperty(value = "操作步骤名称")
    @Excel(name = "操作步骤名称")
    private String stepName;

    /** 物料ID */
    @ApiModelProperty(value = "物料ID")
    @Excel(name = "物料ID")
    private String bomId;

    /** plcID */
    @ApiModelProperty(value = "plcID")
    @Excel(name = "plcID")
    private Integer plcId;

    /** plc数量 */
    @ApiModelProperty(value = "plc数量")
    @Excel(name = "plc数量")
    private Integer plcNum;

    /** 编码类型 */
    @ApiModelProperty(value = "编码类型")
    @Excel(name = "编码类型")
    private Integer codeType;

    /** 编码值 */
    @ApiModelProperty(value = "编码值")
    @Excel(name = "编码值")
    private String codeValue;

    /** 打印ID */
    @ApiModelProperty(value = "打印ID")
    @Excel(name = "打印ID")
    private Integer printId;

    /** 等待时间 */
    @ApiModelProperty(value = "等待时间")
    @Excel(name = "等待时间")
    private Integer waitTime;

    /** 操作时间 */
    @ApiModelProperty(value = "操作时间")
    @Excel(name = "操作时间")
    private Integer stepTime;

    /** odsID */
    @ApiModelProperty(value = "odsID")
    @Excel(name = "odsID")
    private Integer odsId;

    /** 图集作业模式 */
    @ApiModelProperty(value = "图集作业模式")
    @Excel(name = "图集作业模式")
    private Integer atlasJobMode;

    /** 描述说明 */
    @ApiModelProperty(value = "描述说明")
    @Excel(name = "描述说明")
    private String description;

    /** 作业单号 */
    @ApiModelProperty(value = "作业单号")
    @Excel(name = "作业单号")
    private String jobNo;

    /** 图集ID */
    @ApiModelProperty(value = "图集ID")
    @Excel(name = "图集ID")
    private Integer atlasId;

    /** 总计 */
    @ApiModelProperty(value = "总计")
    @Excel(name = "总计")
    private Integer psetTotal;

    /** 操作步骤状态（0正常 1关闭） */
    @ApiModelProperty(value = "操作步骤状态")
    private String status;

}
